class Data{
  static AddZero(num){
    if(num<10){
      num = "0"+num;
    }
    return num;
  }
  static HandlePlayCount(playCount){
    playCount = Math.ceil(playCount/10000);
    return playCount
  }
  static HandleDuration(duration){
    var second = duration/1000;
    var minute = parseInt(second/60);
    second = parseInt(second%60);
    minute = this.AddZero(minute);
    second = this.AddZero(second);
    return minute + ":" + second
  }
}
module.exports = {
  Data
}